package com.bite.forum.services;

import com.bite.forum.model.User;

public interface IUserService {
    void  createNormalUser(User user);

    User selectByUserName(String username);

    User login (String username, String password);

    User selectById (Long id);

    void addOneArticleCountById (Long id);

    void subOneArticleCountById (Long id);

    void modifyInfo (User user);

    void modifyPassword (Long id, String newPassword, String oldPassword);
}
